package com.qf.shop.system.modules.promote.dao;

import com.qf.shop.system.modules.promote.entity.PromotionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 首页推荐
 *
 * @author toString
 * @email toString@qq.com
 * @date 2022-05-13 10:55:20
 */
@Mapper
public interface PromotionDao extends BaseMapper<PromotionEntity> {

    List<PromotionEntity> currentDateList(@Param("limit") Integer limit);

    List<PromotionEntity> oldDateList(@Param("limit") Integer limit);
}
